feat: Add Claude skill for generating Allotropy parsers#1160
Merged
Conversation
This skill helps developers quickly generate complete Allotropy instrument parsers from example input files. Features: - Analyzes input files to auto-detect appropriate Allotrope schemas - Lists all available schemas with filtering and example parsers - Generates complete parser structure with all required files - Creates test files and directory structure - Supports Excel, CSV, and text file formats The skill includes three main scripts: 1. analyze_file.py - Analyzes input files and suggests schemas 2. list_schemas.py - Lists available Allotrope schemas from the repository 3. create_parser.py - Generates complete parser with reader, structure, and tests Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
- Fix bare except clauses to use Exception - Add .ruff.toml to allow print statements in CLI scripts - Apply black formatting Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
- Add type: ignore comments for CLI scripts - Update ruff config to use extend-ignore - Fix syntax error in analyze_file.py - Allow long lines (E501) in CLI scripts Co-Authored-By: Claude Opus 4.1 <noreply@anthropic.com>
ajcariaga16
approved these changes
Apr 1, 2026
nathan-stender
added a commit
that referenced
this pull request
May 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Features
Files Added
.claude/skills/parser-generator/skill.md- Main skill definition for Claude.claude/skills/parser-generator/README.md- Documentation for using the skill.claude/skills/parser-generator/scripts/analyze_file.py- Analyzes input files and suggests schemas.claude/skills/parser-generator/scripts/list_schemas.py- Lists available Allotrope schemas.claude/skills/parser-generator/scripts/create_parser.py- Generates complete parser structure.claude/.ruff.toml- Ruff configuration for Claude skill scriptsUsage
python .claude/skills/parser-generator/scripts/analyze_file.py <file>python .claude/skills/parser-generator/scripts/list_schemas.py [filter]python .claude/skills/parser-generator/scripts/create_parser.py <name> "<Display Name>"Test Plan
This skill will significantly speed up the process of adding new instrument parsers to the allotropy library.
🤖 Generated with Claude Code